<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
<head th:include="public/page_css::page_css ('查看关联退单')" />

<body>
<div class="layui-fluid larry-wrapper">

    <div class="pro">
        <table id="table10"  class="table text-nowrap"></table>
    </div>
</div>
</body>
<div th:include="public/public_js::public_js"></div>

<script th:inline="javascript">
    $(function () {
    })

</script>
<script>

    layui.use(['myform','zzpUtils','form','jquery'],function () {

        var  zzpUtils = layui.zzpUtils,
            $ = layui.jquery;

        var tabs = zzpUtils.table({
            elem: '#table10',
            isApi: true,
            url: "/wmsSplit/getSoList",
            pagination:true,
            columns: [{
                field: '',
                checkbox: true
            }, {
                field: 'fybh',
                title: 'SO编号'
            }, {
                field: 'khddh',
                title: '客户订单号'
            }, {
                field: 'show_fylx',
                title: 'SO类型'
            }, {
                field: 'khbh',
                title: '客户编号'
            }, {
                field: 'khmc',
                title: '客户名称'
            },{
                field: 'lxrxm',
                title: '联系人'
            },{
                field: 'yxj',
                title: '优先级'
            }, {
                field: 'khdz',
                title: '客户地址'
            }, {
                field: 'show_shzt',
                title: '审核状态'
            }, {
                field: 'show_cdzt',
                title: '拆单状态'
            }, {
                field: 'show_jhfs',
                title: '交货方式'
            }, {
                field: 'show_zxzt',
                title: '装箱状态'
            }, {
                field: 'show_bczt',
                title: '波次状态'
            }, {
                field: 'show_jhzt',
                title: '拣货状态'
            }, {
                field: 'show_fyzt',
                title: 'SO状态'
            }, {
                field: 'jhfhsj',
                title: '计划发货时间'
            }, {
                field: 'yqjhsj',
                title: '要求交货时间'
            }, {
                field: 'cjsj',
                title: 'wms创建时间'
            }]
        });
        $(function () {
            /* $.ajax({
                 url: "/zxsswms/wmsSplit/getSoList",
                 type: "POST",
                 dataType: "JSON",
                 contentType: 'application/json',
                 async: false,
                 data:JSON.stringify({id:$('#pid').val()}),
                 success: function (data) {
                     tabs.bootstrapTable('append', data);
                 },
                 error: function () { console.log("Error"); }
             });*/
        })

    });
</script>
</html>